<?php /* @var $this Controller */ ?>
<!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
<head>
	<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
	<meta name="language" content="en" />

	<link rel="stylesheet" type="text/css" href="<?php echo Yii::app()->baseUrl.'/css/reset.css'; ?>" />
	<link rel="stylesheet" type="text/css" href="<?php echo Yii::app()->baseUrl.'/css/main.css'; ?>" />
	
	<link rel="stylesheet" type="text/css" href="<?php echo Yii::app()->baseUrl.'/fancyBox/source/jquery.fancybox.css'; ?>" />
	
	<script type="text/javascript" src="<?php echo Yii::app()->baseUrl.'/js/jquery.min.js'; ?>"></script>
	<script type="text/javascript" src="<?php echo Yii::app()->baseUrl.'/fancyBox/source/jquery.fancybox.js'; ?>"></script>
	
	<title><?php echo CHtml::encode($this->pageTitle); ?></title>
</head>
<body>

<header id="topbar">
	<div id="topbar-center">
		<div id="topbar-left"></div>
		<div id="topbar-right">
			<?php
			if(Yii::app()->user->isGuest){
				$this->renderPartial('//layouts/topbarGuest');
			}
			else{
				$this->renderPartial('//layouts/topbar');
			}
			?>
		</div>
		<div class="clear"></div>
	</div>
</header>
<?php echo $content;?>

<footer id="footer">

</footer>
</body>
</html>
